package com.zmn.oms.common.dio.normal.acceptance;

import com.zmn.oms.common.dio.OmsAppBaseDIO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 类描述：增加订单验收
 *
 * @author wangxiaokun
 * @since 2021/09/18 16:00
 */
@ApiModel("新增订单验收入参")
@Data
public class AddAcceptanceDIO extends OmsAppBaseDIO implements Serializable {

    private static final long serialVersionUID = -1392785853976774462L;

    /**
     * 验收id
     */
    @ApiModelProperty(value = "验收id", required = true)
    private Long acceptanceId;

    /**
     * 验收类型 10、定金 11、尾款
     * @see com.zmn.oms.common.constant.OrderConsts#ORDER_ACCEPTANCE_TYPE_DEPOSIT
     */
    @ApiModelProperty(value = "验收类型", required = true)
    @NotNull(message = "验收类型不能为空")
    private Integer acceptanceType;

    /**
     * 多次上门id
     */
    @ApiModelProperty(value = "上门id", required = true)
    private Long visitId;
}
